package com.base.login.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.base.system.domain.bo.TSysMenuBo;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
public class LoginUserVo  {
    @ExcelProperty(value="auto id")
    private String autoId;
    @ExcelProperty(value="用户名")
    private String userName;
    @ExcelProperty(value="密码")
    private String password;
    @ExcelProperty(value="真实姓名")
    private String realName;
    @ExcelProperty(value="手机号")
    private String phone;
    @ExcelProperty(value="邮箱地址")
    private String email;
    @ExcelProperty(value="备注")
    private String remark;
    @ExcelProperty(value="状态")
    private String status;
    @ExcelProperty(value="USB-KEY序列号")
    private String ukSerialId;
    @ExcelProperty(value="USB-KEY口令")
    private String ukPassword;
    @ExcelProperty(value="USB-KEY到期时间")
    private Date ukDueTime;
    @ExcelProperty(value="创建时间")
    private Date createTime;
    @ExcelProperty(value="更新时间")
    private Date updateTime;
    @ExcelProperty(value="操作员")
    private String operator;

    @ExcelProperty(value = "菜单列表")
    private List<TSysMenuBo> menuInfoList;

    @ExcelProperty(value = "菜单列表")
    private List<String> permissionList;

    @ExcelProperty(value="菜单列表记录")
    private List<String> permissionCodes;

    @ExcelProperty(value = "是否为管理员. 测试使用. 默认为true")
    private  boolean isAdmin = true;

    @ExcelProperty(value="权限按钮列表")
    private Map<String,List<TSysMenuBo>> permissionButtons;

}
